/**
  * Copyright 2019 bejson.com 
  */
package com.xingkeduo.dto.transter.orderdetail;

import com.xingkeduo.dto.HairstyleResponseDTO;
import lombok.Data;

@Data
public class Hairstyle_list {

    private String id;
    private String img;
    private String name;
    private String english_sign;
    private String hairstyle_label;

    public void covert(HairstyleResponseDTO hairstyleResponseDTO) {
        this.id = String.valueOf(hairstyleResponseDTO.getId());
        this.img = hairstyleResponseDTO.getCover();
        this.name = hairstyleResponseDTO.getName();
        this.english_sign=hairstyleResponseDTO.getEnmark();
        this.hairstyle_label=hairstyleResponseDTO.getTitle();
    }
}